package net.dodoman.refrence;

public class Test3 {
	public static void initArray(int[] array) {
		for (int i = 0; i < array.length; i++) {
			array[i] = i;
		}
	}

	public static void main(String[] args) {
		int[] a = new int[10];
		initArray(a);
		for (int i = 0; i < a.length; i++) {
			System.out.println(a[i]);
		}
	}
}
